using System;
using System.ComponentModel.DataAnnotations;

namespace RBDD.Embol.AccesoDatos.Entidades
{
 public partial class Session
 {
     public Session()
     {
     }
     #region foreign Keys
     #endregion
     public virtual int   Id { get; set;}

     [StringLength(50, ErrorMessage = "{0} debe tener al menos {2} caracteres.", MinimumLength = 2)]
     [Display(Name = "Nombre")]
     public virtual string   Nombre { get; set;}

     [DataType(DataType.Date)]
     [Display(Name = "FechaSession")]
     public virtual DateTime   FechaSession { get; set;}

     [StringLength(100, ErrorMessage = "{0} debe tener al menos {2} caracteres.", MinimumLength = 2)]
     [Display(Name = "Accion")]
     public virtual string   Accion { get; set;}

     [DataType(DataType.Date)]
     [Display(Name = "HoraSession")]
     public virtual DateTime   HoraSession { get; set;}

     [StringLength(100, ErrorMessage = "{0} debe tener al menos {2} caracteres.", MinimumLength = 2)]
     [Display(Name = "Descripcion")]
     public virtual string   Descripcion { get; set;}
 }
}

